(nnmail-pathname-coding-system): Defvar when
authorDave Love <fx@gnu.org>
Thu, 4 Jan 2001 15:38:41 +0000 (15:38 +0000)
committerDave Love <fx@gnu.org>
Thu, 4 Jan 2001 15:38:41 +0000 (15:38 +0000)
compiling.
(gnus-make-directory): Require nnmail.

lisp/gnus/gnus-util.el

index 4a30d1da0be23d4a6e95de5241e8d65cb06faf4e..061a0610a70fc407d35307fd7f7c4fc2d225a6f6 100644 (file)
 ;;; Code:
 
 (require 'custom)
-(eval-when-compile (require 'cl))
+(eval-when-compile
+  (require 'cl)
+  ;; Fixme: this should be a gnus variable, not nnmail-.
+  (defvar nnmail-pathname-coding-system))
 (require 'nnheader)
 (require 'time-date)
 
@@ -531,6 +534,7 @@ Bind `print-quoted' and `print-readably' to t while printing."
 
 (defun gnus-make-directory (directory)
   "Make DIRECTORY (and all its parents) if it doesn't exist."
+  (require 'nnmail)
   (let ((file-name-coding-system nnmail-pathname-coding-system))
     (when (and directory
               (not (file-exists-p directory)))